package top.mccat.common.core.domain.bk;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.mccat.common.annotation.Excel;
import top.mccat.common.core.domain.BaseEntity;

/**
 * 商品对象 bk_product
 * 
 * @author ruoyi
 * @date 2022-11-06
 */
public class BkProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品表id */
    private Integer id;

    /** 商品名 */
    @Excel(name = "商品名")
    private String productName;

    /** 商品型号*/
    @Excel(name = "商品型号")
    private String productModel;

    /** 商品备注 */
    @Excel(name = "商品备注")
    private String productRemark;

    /** 最新一次进货的进价 */
    @Excel(name = "最新一次进货的进价")
    private BigDecimal latestPurchasePrice;

    /** 建议零售价 */
    @Excel(name = "建议零售价")
    private BigDecimal retailPrice;

    @Excel(name = "是否启用")
    private Integer productEnable;

    private Integer supplierId;

    private Integer parentId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductModel(String productModel) 
    {
        this.productModel = productModel;
    }

    public String getProductModel() 
    {
        return productModel;
    }
    public void setProductRemark(String productRemark) 
    {
        this.productRemark = productRemark;
    }

    public String getProductRemark() 
    {
        return productRemark;
    }
    public void setLatestPurchasePrice(BigDecimal latestPurchasePrice) 
    {
        this.latestPurchasePrice = latestPurchasePrice;
    }

    public BigDecimal getLatestPurchasePrice() 
    {
        return latestPurchasePrice;
    }
    public void setRetailPrice(BigDecimal retailPrice) 
    {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getRetailPrice()
    {
        return retailPrice;
    }

    public Integer getProductEnable() {
        return productEnable;
    }

    public void setProductEnable(Integer productEnable) {
        this.productEnable = productEnable;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }



    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productName", getProductName())
                .append("productModel", getProductModel())
                .append("productRemark", getProductRemark())
                .append("latestPurchasePrice", getLatestPurchasePrice())
                .append("retailPrice", getRetailPrice())
                .append("productEnable", getProductEnable())
                .append("parentId", getParentId())
                .toString();
    }
}
